package com.gxlu.ms.base.exception;

/**
 *
 * @author andy.lhc
 * @date 2018/3/23
 */
public class BizServiceException extends BaseException {

    public  BizServiceException(){
        super();
    }

    public BizServiceException(String errorCode,String errorMsg) {
        super(errorCode);
        setErrInfo(errorCode,errorMsg);
    }

    public BizServiceException(String message) {
        super(message);
    }

    public BizServiceException(String message,String errorCode,String errorMsg) {
        super(message);
        setErrInfo(errorCode,errorMsg);
    }

    public BizServiceException(String message, Throwable cause) {
        super(message, cause);
    }

    public BizServiceException(String message, Throwable cause,String errorCode,String errorMsg) {
        super(message, cause);
        setErrInfo(errorCode,errorMsg);
    }

    public BizServiceException(Throwable cause) {
        super(cause);
    }

    public BizServiceException(Throwable cause,String errorCode,String errorMsg) {
        super(cause);
        setErrInfo(errorCode,errorMsg);
    }


}
